package com.bw.z.mvp.di;

import com.bw.z.mvp.contract.LoginContract;
import com.bw.z.mvp.model.LoginModel;

import dagger.Module;
import dagger.Provides;

@Module
public class LoginModules {
    private LoginContract.loginView view;

    public LoginModules(LoginContract.loginView view) {
        this.view = view;
    }

    @Provides
    public LoginContract.loginView providerView() {
        return view;
    }

    @Provides
    public LoginContract.loginModel providerModel(LoginModel model) {
        return model;
    }
}
